<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pageData.title}</title>
		<link rel="stylesheet" href="__STATIC__/manage/css/admin.css" />
		<link rel="stylesheet" href="__STATIC__/manage/js/layui/css/layui.css" />
		<script type="text/javascript" src="__STATIC__/manage/js/jquery.min.js"></script>
		{include file="inc/script" /}
		<script type="text/javascript" src="__STATIC__/manage/js/public.js"></script>
		<script type="text/javascript" src="__STATIC__/manage/js/layui/layui.js"></script>
	</head>
	<body>
		<div class="right-center height-at">
			<div class="center-tit magin0">{$pageData.title}</div>
			<div class="center-nav">
				<ul>
					<li><a href="#" class="center-nav-bnt hb-bnt"><i class="iconfont icon-jihuo"></i>通过</a></li>
					<li><a href="#" class="center-nav-bnt hb-bnt"><i class="iconfont icon-bohui"></i>驳回</a></li>
				</ul>
				<div class="screen-bnt"><a href="#">筛选<i class="iconfont icon-sx"></i></a></div>
			</div>
			<div class="screen-bnt-cen">
				<form id="screen-form" method = 'get' action = "{:url('apply.api/coin_apply')}">
					<ul class="clearfix">
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">会员编号</label>
								<div class="layui-input-block">
									<input type="text" name="mid" autocomplete="off" placeholder="请输入会员编号" class="layui-input">
								</div>
							</div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">姓名</label>
								<div class="layui-input-block">
									<input type="text" name="mname" autocomplete="off" placeholder="请输入姓名" class="layui-input">
								</div>
							</div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">开始时间</label>
								<div class="layui-input-block">
									<input type="text" name="start" autocomplete="off" placeholder="请输入开始时间" class="layui-input"  id="start">
								</div>
							</div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">结束时间</label>
								<div class="layui-input-block">
									<input type="text" name="end" autocomplete="off" placeholder="请输入结束时间" class="layui-input"  id="end">
								</div>
							</div>
						</li>
					</ul>
				<p><input type="submit" class="button" id="ScreenBnt" value="查询"><input type="submit" class="button" id="Expbnt" value="导出查询结果"></p>
				</form>
			</div>
			
			<div class="center-tab">
				<table class="layui-table" id="centet-cen" lay-filter="table"></table>
			</div>
			
			
			<!--<div class="center-tab">
				<table cellpadding="0" cellspacing="0" class="list-table">
					<thead>         
						<th class="checkbox-back"><div><input type="checkbox" id="check-whole"></div></th>
						<th><div>会员编号</div></th>
						<th><div>货币</div></th>
						<th><div>提现金额</div></th>
						<th><div>银行名称</div></th>
						<th><div>银行卡号</div></th>
						<th><div>开户人</div></th>
						<th><div>银行地址</div></th>
						<th><div>申请时间</div></th>
						<th><div>状态</div></th>
						<th><div>操作</div></th>
					</thead>                                                
					<tbody>
					</tbody>
				</table>
			</div>-->
			<div class="paging"></div>
		</div>	

<!--<script type="text/javascript">
$(function(){
	getData();
})

function getData(){
	$.ajax({
		'type':'post',
		'dataType':'json',
		'data':{$whereData|json_encode},
		'url':"{:url('apply.api/withdraw_apply')}",
		'success':function(data){
			var html = '';
			$.each(data.data,function(index,value){
				html += '<tr class="list-tr"><td class="checkbox-back"><div><input type="checkbox" class="single-whole"></div></td>'+
				'<td>'+value.mid+'</td>'+
				'<td>'+value.coin_name+'</td>'+
				'<td>'+value.amount+'</td>'+
				'<td>'+value.bank_name+'</td>'+
				'<td>'+value.bank_card+'</td>'+
				'<td>'+value.owner+'</td>'+
				'<td>'+value.bank_address+'</td>'+
				'<td>'+value.create_time+'</td>'+
				'<td>'+value.status_remark+'</td>'+
				'<td><a href="javascript:void(0);" onclick="handle('+value.id+',1)">通过</a><a href="javascript:void(0);" onclick="handle('+value.id+',2)">驳回</a></td>'+
				'</tr>';
			});
			$(".list-table tbody").html(html);
		}
	});
}

function handle(id,status){
	$.ajax({
		'type':'post',
		'dataType':'json',
		'data':'id='+id+'&status='+status+'&token={$token}',
		'url':"{:url('apply.handle/deal_coin_apply')}",
		'success':function(data){
			alert(data.msg);
		}
	});
	getData();
}
</script>-->
<script type="text/javascript">
		//获取列表
		var listSrc="{:url('apply.api/withdraw_apply')}";
	    
	    var czSrc="{:url('apply.handle/deal_coin_apply')}";
	    
	    
	    var ExpSrc="{:url('operate.handle/export_index')}"; 
	    
	    
	    var seet='{$whereData|json_encode}';
	    
	</script>
    <script type="text/javascript" src="__STATIC__/manage/js/apply/show/withdraw.js" ></script>
</body>
</html>